<%option explicit%>
<!--#include file="conn.asp"-->
<!--#include file="func.asp"-->
<%
call nocache()
dim id
table=request.QueryString("table")
id=request.queryString("id")
if table="" or id="" then
call errorend()
end if
table=checkint(table)
id=checkint(id)
table=checktable(table)
preColumn=left(table,3)
sql="delete from ["&table&"] where "&preColumn&"_id="&id
conn.execute(sql)
call succeed()
call connClose()
%>